<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>JSCODE</title>
<style>
html{
width:100%;
height:100%;
margin:0;
padding:0;
overflow:hidden;
}
body {
margin:0;
padding:0;
width:100%;
height:100%;
overflow:hidden;
font-size:12px;
font-family:"Andale Mono";
}
#main{
padding:10px 0 0 10px;
height:100%;
overflow:auto;
}
#pop_up{
position:absolute;
right:16px;
top:0;
padding:10px;
background:#fff;
overflow:auto;
border:1px solid #000;
}
dd{
margin-left:20px;
}
h2 a{
color:#006A00;
text-decoration:none;
}
h2 a:hover{
text-decoration:underline;
}
h3{
    color:#aaa;
}
.function_head{
    
}
.variable_head{

}
.example_html b{
    color:#0080C0;
}
p.description {
    border-left:3px solid #aaa;
    border-bottom:1px solid #aaa;
    padding-left:10px;
}
.code{
    border:1px solid #ccc;
    margin-top:5px;
    font-size:11px;
    background:#dedede;
    overflow:auto;
}
dl.item {
    margin-bottom:20px;
}
dl.item dt{
    margin-top:50px;
    background:#eee;
    margin-left:10px;
}
dl.item dt a{
    color:#FF7700;
}
dl.item dt b a{
    font-size:13px;
    color:#333;
    text-decoration:none;
}
dl.item dt b a:hover{
    font-size:13px;
    color:#333;
    text-decoration:underline;
}
li{border-bottom:1px dashed #ccc;line-height:25px}
li b{font-weight:normal}
#name_index{
    border-top:3px solid #ccc;
}
.c128{color:#ff0000}.c512{color:#004000}.c32{color:#008080}.c64{color:#949494}.c2{color:#ff0000}.c8{color:#008000}.c1{color:#0080c0}.c4{color:#ff8040}.c256{color:#000000}.c16{color:#800000}</style>
<script>
function view_source (a) {
    var c = a.parentNode.nextSibling;
    if (c.style.display == 'none') {
        c.style.display = 'block';
    } else {
        c.style.display = 'none';
    }
    return false;
}
</script>
</head>
<body>
<div id="main">
<h2><a name="$.Ajax" href="#$.Ajax">$.Ajax</a></h2><dl><dd></dd></dl><h2><a name="$.Browser" href="#$.Browser">$.Browser</a></h2><dl><dd></dd><dl class="item"><dt><b class="variable_head"><a href="#$.Browser.EXPORT" name="$.Browser.EXPORT">EXPORT</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Browser</b><b class="c8">.</b><b class="c256">EXPORT</b>&nbsp;<b class="c8">=</b>&nbsp;&nbsp;<b class="c8">[</b><b class="c64">'Gecko=&gt;isGecko'</b><b class="c16">,</b>&nbsp;<b class="c64">'IE=&gt;isIE'</b><b class="c16">,</b>&nbsp;<b class="c64">'Opera=&gt;isOpera'</b><b class="c16">,</b>&nbsp;<b class="c64">'WebKit=&gt;isWebKit'</b><b class="c16">,</b>&nbsp;<b class="c64">'Version=&gt;BrowserVersion'</b><b class="c8">]</b><b class="c16">;</b></b></li></ol></dd><dd><h3>Description:</h3><p class="description"> 属性导出设置，参见: <a href='base.html#window.$export'>$export</a>;<br/>	 </p></dd><dt><b class="variable_head"><a href="#$.Browser.Gecko" name="$.Browser.Gecko">Gecko</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Browser</b><b class="c8">.</b><b class="c256">Gecko</b>&nbsp;<b class="c8">=</b>&nbsp;&nbsp;&nbsp;<b class="c4">navigator</b><b class="c8">.</b><b class="c4">userAgent</b><b class="c8">.</b><b class="c4">indexOf</b><b class="c16">(</b><b class="c64">'Gecko'</b><b class="c16">)</b>&nbsp;<b class="c8">></b>&nbsp;<b class="c8">-</b><b class="c128">1</b>&nbsp;<b class="c8">&</b><b class="c8">&</b>&nbsp;<b class="c4">navigator</b><b class="c8">.</b><b class="c4">userAgent</b><b class="c8">.</b><b class="c4">indexOf</b><b class="c16">(</b><b class="c64">'KHTML'</b><b class="c16">)</b>&nbsp;<b class="c8">=</b><b class="c8">=</b>&nbsp;<b class="c8">-</b><b class="c128">1</b><b class="c16">;</b></b></li></ol></dd><dd><h3>Description:</h3><p class="description">	浏览器内核是否是Gecko引擎的(例：firefox浏览器)<br/>	 </p></dd><dt><b class="variable_head"><a href="#$.Browser.IE" name="$.Browser.IE">IE</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Browser</b><b class="c8">.</b><b class="c256">IE</b>&nbsp;<b class="c8">=</b>&nbsp;&nbsp;<b class="c512">/msie/</b><b class="c8">.</b><b class="c4">test</b><b class="c16">(</b><b class="c4">navigator</b><b class="c8">.</b><b class="c4">userAgent</b><b class="c8">.</b><b class="c4">toLowerCase</b><b class="c16">(</b><b class="c16">)</b><b class="c16">)</b><b class="c16">;</b></b></li></ol></dd><dd><h3>Description:</h3><p class="description">	浏览器内核是否是IE引擎的<br/>	 </p></dd><dt><b class="variable_head"><a href="#$.Browser.Opera" name="$.Browser.Opera">Opera</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Browser</b><b class="c8">.</b><b class="c256">Opera</b>&nbsp;<b class="c8">=</b>&nbsp;&nbsp;<b class="c8">!</b><b class="c8">!</b><b class="c4">window</b><b class="c8">.</b><b class="c256">opera</b><b class="c16">;</b></b></li></ol></dd><dd><h3>Description:</h3><p class="description">	浏览器是否是Opera<br/>	 </p></dd><dt><b class="variable_head"><a href="#$.Browser.Version" name="$.Browser.Version">Version</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Browser</b><b class="c8">.</b><b class="c256">Version</b>&nbsp;<b class="c8">=</b>&nbsp;&nbsp;<b class="c16">(</b><b class="c4">navigator</b><b class="c8">.</b><b class="c4">userAgent</b><b class="c8">.</b><b class="c4">match</b><b class="c16">(</b>&nbsp;<b class="c512">/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/</b>&nbsp;<b class="c16">)</b>&nbsp;<b class="c8">|</b><b class="c8">|</b>&nbsp;<b class="c8">[</b><b class="c8">]</b><b class="c16">)</b><b class="c8">[</b><b class="c128">1</b><b class="c8">]</b><b class="c16">;</b></b></li></ol></dd><dd><h3>Description:</h3><p class="description">	浏览器版本<br/>	 </p></dd><dt><b class="variable_head"><a href="#$.Browser.WebKit" name="$.Browser.WebKit">WebKit</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Browser</b><b class="c8">.</b><b class="c256">WebKit</b>&nbsp;<b class="c8">=</b>&nbsp;&nbsp;<b class="c4">navigator</b><b class="c8">.</b><b class="c4">userAgent</b><b class="c8">.</b><b class="c4">indexOf</b><b class="c16">(</b><b class="c64">'AppleWebKit/'</b><b class="c16">)</b>&nbsp;<b class="c8">></b>&nbsp;<b class="c8">-</b><b class="c128">1</b><b class="c16">;</b></b></li></ol></dd><dd><h3>Description:</h3><p class="description">	浏览器是否使用的是WebKit引擎(Safari,Midori等)<br/>	 </p></dd></dl></dl><h2><a name="$.Builder" href="#$.Builder">$.Builder</a></h2><dl><dd><h3>Description:</h3><p class="description"> 元素生成对象<br/> </p></dd><dl class="item"><dt><b class="function_head"><a name="$.Builder.node" href="#$.Builder.node">node</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Builder</b><b class="c8">.</b><b class="c256">node</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">html</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c8">!</b><b class="c8">/</b><b class="c8">^</b><b class="c8"><</b><b class="c8">[</b><b class="c8">^</b><b class="c8">></b><b class="c8">]</b><b class="c8">+</b><b class="c8">?</b><b class="c8">\</b><b class="c8">/</b><b class="c8">?</b><b class="c8">></b><b class="c16">(</b><b class="c16">(</b><b class="c8">.</b><b class="c8">|</b><b class="c8">\</b><b class="c256">n</b><b class="c16">)</b><b class="c8">*</b><b class="c8"><</b><b class="c8">\</b><b class="c8">/</b><b class="c8">[</b><b class="c8">^</b><b class="c8">></b><b class="c8">]</b><b class="c8">+</b><b class="c8">></b><b class="c16">)</b><b class="c8">?</b><b class="c8">$</b><b class="c8">/</b><b class="c8">.</b><b class="c4">test</b><b class="c16">(</b><b class="c256">html</b><b class="c16">)</b><b class="c16">)</b>&nbsp;<b class="c1">return</b>&nbsp;<b class="c1">null</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c4">tagName</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">html</b><b class="c8">.</b><b class="c4">match</b><b class="c16">(</b><b class="c512">/<(\w+)(?:\s|>)/</b><b class="c16">)</b><b class="c8">[</b><b class="c128">1</b><b class="c8">]</b><b class="c8">.</b><b class="c4">toUpperCase</b><b class="c16">(</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c256">parentTag</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">this</b><b class="c8">.</b><b class="c256">NODEMAP</b><b class="c8">[</b><b class="c4">tagName</b><b class="c8">]</b>&nbsp;<b class="c8">|</b><b class="c8">|</b>&nbsp;<b class="c64">'DIV'</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c4">parentElement</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c4">document</b><b class="c8">.</b><b class="c256">createElement</b><b class="c16">(</b><b class="c256">parentTag</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">try</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c4">parentElement</b><b class="c8">.</b><b class="c4">innerHTML</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">html</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b>&nbsp;<b class="c1">catch</b><b class="c16">(</b><b class="c256">e</b><b class="c16">)</b>&nbsp;<b class="c16">{</b><b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c4">element</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c4">parentElement</b><b class="c8">.</b><b class="c256">firstChild</b>&nbsp;<b class="c8">|</b><b class="c8">|</b>&nbsp;<b class="c1">null</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b><b class="c16">(</b><b class="c4">element</b>&nbsp;<b class="c8">&</b><b class="c8">&</b>&nbsp;<b class="c16">(</b><b class="c4">element</b><b class="c8">.</b><b class="c4">tagName</b>&nbsp;<b class="c8">!</b><b class="c8">=</b>&nbsp;<b class="c4">tagName</b><b class="c16">)</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c4">element</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c4">element</b><b class="c8">.</b><b class="c256">getElementsByTagName</b><b class="c16">(</b><b class="c4">tagName</b><b class="c16">)</b><b class="c8">[</b><b class="c128">0</b><b class="c8">]</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b><b class="c16">(</b><b class="c8">!</b><b class="c4">element</b><b class="c16">)</b>&nbsp;<b class="c1">return</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c4">arguments</b><b class="c8">[</b><b class="c128">1</b><b class="c8">]</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">this</b><b class="c8">.</b><b class="c256">addChildren</b><b class="c16">(</b><b class="c4">element</b><b class="c16">,</b>&nbsp;<b class="c4">arguments</b><b class="c8">[</b><b class="c128">1</b><b class="c8">]</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">return</b>&nbsp;<b class="c4">element</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd><dt><b class="function_head"><a name="$.Builder.text" href="#$.Builder.text">text</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Builder</b><b class="c8">.</b><b class="c4">text</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">str</b><b class="c16">)</b>&nbsp;<b class="c16">{</b>&nbsp;<b class="c1">return</b>&nbsp;<b class="c4">document</b><b class="c8">.</b><b class="c256">createTextNode</b><b class="c16">(</b><b class="c256">str</b><b class="c16">)</b><b class="c16">;</b>&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd></dl></dl><h2><a name="$.Dom" href="#$.Dom">$.Dom</a></h2><dl><dd><h3>Description:</h3><p class="description"><br/> 	Dom元素扩展方法，调用途径： 通过_$实例对象的$方法调用<br/> 	例：要调用$.Dom._class (e, cn) 方法 ，$(e).$('$class', cn);  如果需要返回返回值，则$(e).$('$$class', cn)<br/> </p></dd><dl class="item"><dt><b class="function_head"><a name="$.Dom._addTo" href="#$.Dom._addTo">_addTo</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">.</b><b class="c256">_addTo</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">e</b><b class="c16">,</b>&nbsp;<b class="c256">p</b><b class="c16">)</b>&nbsp;<b class="c16">{</b>&nbsp;<b class="c256">p</b><b class="c8">.</b><b class="c256">appendChild</b><b class="c16">(</b><b class="c256">e</b><b class="c16">)</b>&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd><h3>Description:</h3><p class="description">  将自己添加为一个元素的最后一个子元素<br/>	 </p></dd><dt><b class="function_head"><a name="$.Dom._after" href="#$.Dom._after">_after</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">.</b><b class="c256">_after</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">e</b><b class="c16">,</b>&nbsp;<b class="c256">c</b><b class="c16">)</b>&nbsp;<b class="c16">{</b><b class="c256">e</b><b class="c8">.</b><b class="c256">parentNode</b><b class="c8">.</b><b class="c256">insertBefore</b><b class="c16">(</b><b class="c8">$</b><b class="c8">.</b><b class="c256">isString</b><b class="c16">(</b><b class="c256">c</b><b class="c16">)</b>&nbsp;<b class="c8">?</b>&nbsp;<b class="c8">$</b><b class="c16">(</b><b class="c256">c</b><b class="c16">)</b>&nbsp;<b class="c8">:</b>&nbsp;<b class="c256">c</b><b class="c16">,</b>&nbsp;<b class="c256">e</b><b class="c8">.</b><b class="c256">nextSibling</b><b class="c16">)</b><b class="c16">;</b><b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd><h3>Description:</h3><p class="description"> 在元素e后添加元素c<br/>	 </p></dd><dt><b class="function_head"><a name="$.Dom._append" href="#$.Dom._append">_append</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">.</b><b class="c256">_append</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">e</b><b class="c16">,</b>&nbsp;<b class="c256">c</b><b class="c16">)</b>&nbsp;<b class="c16">{</b><b class="c1">if</b><b class="c16">(</b><b class="c8">$</b><b class="c8">.</b><b class="c256">isElement</b><b class="c16">(</b><b class="c256">e</b><b class="c16">)</b><b class="c16">)</b>&nbsp;<b class="c256">e</b><b class="c8">.</b><b class="c256">appendChild</b><b class="c16">(</b><b class="c8">$</b><b class="c8">.</b><b class="c256">isString</b><b class="c16">(</b><b class="c256">c</b><b class="c16">)</b>&nbsp;<b class="c8">?</b>&nbsp;<b class="c8">$</b><b class="c16">(</b><b class="c256">c</b><b class="c16">)</b>&nbsp;<b class="c8">:</b>&nbsp;<b class="c256">c</b><b class="c16">)</b><b class="c16">;</b><b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd><h3>Description:</h3><p class="description"> 元素e在所有子节点的未尾添加子元素c<br/>	 </p></dd><dt><b class="function_head"><a name="$.Dom._before" href="#$.Dom._before">_before</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">.</b><b class="c256">_before</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">e</b><b class="c16">,</b>&nbsp;<b class="c256">c</b><b class="c16">)</b>&nbsp;<b class="c16">{</b><b class="c256">e</b><b class="c8">.</b><b class="c256">parentNode</b><b class="c8">.</b><b class="c256">insertBefore</b><b class="c16">(</b><b class="c8">$</b><b class="c8">.</b><b class="c256">isString</b><b class="c16">(</b><b class="c256">c</b><b class="c16">)</b>&nbsp;<b class="c8">?</b>&nbsp;<b class="c8">$</b><b class="c16">(</b><b class="c256">c</b><b class="c16">)</b>&nbsp;<b class="c8">:</b>&nbsp;<b class="c256">c</b><b class="c16">,</b>&nbsp;<b class="c256">e</b><b class="c16">)</b><b class="c16">;</b><b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd><h3>Description:</h3><p class="description"> 在元素e前添加元素c<br/>	 </p></dd><dt><b class="function_head"><a name="$.Dom._elementsWithClass" href="#$.Dom._elementsWithClass">_elementsWithClass</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">.</b><b class="c256">_elementsWithClass</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">e</b><b class="c16">,</b>&nbsp;<b class="c4">className</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c4">children</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">e</b><b class="c8">.</b><b class="c256">getElementsByTagName</b><b class="c16">(</b><b class="c64">'*'</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c4">elements</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c8">[</b><b class="c8">]</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">for</b>&nbsp;<b class="c16">(</b><b class="c1">var</b>&nbsp;<b class="c256">i</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c128">0</b><b class="c16">;</b>&nbsp;<b class="c256">i</b>&nbsp;<b class="c8"><</b>&nbsp;<b class="c4">children</b><b class="c8">.</b><b class="c4">length</b><b class="c16">;</b>&nbsp;<b class="c256">i</b>&nbsp;<b class="c8">+</b><b class="c8">+</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c256">child</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c4">children</b><b class="c8">[</b><b class="c256">i</b><b class="c8">]</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c256">child</b><b class="c8">.</b><b class="c4">className</b><b class="c8">.</b><b class="c4">match</b><b class="c16">(</b><b class="c8">new</b>&nbsp;<b class="c2">RegExp</b><b class="c16">(</b><b class="c64">"(^|\\s)"</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c4">className</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c64">"(\\s|$)"</b><b class="c16">)</b><b class="c16">)</b><b class="c16">)</b>&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c4">elements</b><b class="c8">.</b><b class="c4">push</b><b class="c16">(</b><b class="c256">child</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">return</b>&nbsp;<b class="c4">elements</b><b class="c16">;</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd><dt><b class="function_head"><a name="$.Dom._empty" href="#$.Dom._empty">_empty</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">.</b><b class="c256">_empty</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">e</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c4">children</b>&nbsp;<b class="c8">=</b>&nbsp;&nbsp;<b class="c256">$A</b><b class="c16">(</b><b class="c256">e</b><b class="c8">.</b><b class="c256">childNodes</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">for</b>&nbsp;<b class="c16">(</b><b class="c1">var</b>&nbsp;<b class="c256">i</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c128">0</b><b class="c16">;</b>&nbsp;<b class="c256">i</b>&nbsp;<b class="c8"><</b>&nbsp;<b class="c4">children</b><b class="c8">.</b><b class="c4">length</b><b class="c16">;</b>&nbsp;<b class="c256">i</b>&nbsp;<b class="c8">+</b><b class="c8">+</b><b class="c16">)</b>&nbsp;<b class="c16">{</b>&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">e</b><b class="c8">.</b><b class="c256">removeChild</b><b class="c16">(</b><b class="c4">children</b><b class="c8">[</b><b class="c256">i</b><b class="c8">]</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">e</b><b class="c8">.</b><b class="c256">firstChild</b>&nbsp;<b class="c8">&</b><b class="c8">&</b>&nbsp;<b class="c256">e</b><b class="c8">.</b><b class="c256">removeChild</b>&nbsp;<b class="c16">(</b><b class="c256">e</b><b class="c8">.</b><b class="c256">firstChild</b>&nbsp;<b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd><h3>Description:</h3><p class="description"> 移除元素的所有子节点, e.innerHTML = '' 的Dom API实现<br/>	 </p></dd><dt><b class="function_head"><a name="$.Dom._hide" href="#$.Dom._hide">_hide</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">.</b><b class="c256">_hide</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">e</b><b class="c16">)</b>&nbsp;<b class="c16">{</b>&nbsp;<b class="c256">e</b><b class="c8">.</b><b class="c4">style</b><b class="c8">.</b><b class="c256">display</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c64">'none'</b>&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd><dt><b class="function_head"><a name="$.Dom._opacity" href="#$.Dom._opacity">_opacity</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">.</b><b class="c256">_opacity</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">e</b><b class="c16">,</b>&nbsp;<b class="c4">value</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b><b class="c16">(</b><b class="c8">$</b><b class="c8">.</b><b class="c256">isIE</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">e</b><b class="c8">.</b><b class="c4">style</b><b class="c8">.</b><b class="c256">filter</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c64">'alpha(opacity='</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c2">Math</b><b class="c8">.</b><b class="c4">round</b><b class="c16">(</b><b class="c4">value</b>&nbsp;<b class="c8">*</b>&nbsp;<b class="c128">100</b><b class="c16">)</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c64">')'</b><b class="c16">;</b>&nbsp;&nbsp;&nbsp;&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b>&nbsp;<b class="c1">else</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">e</b><b class="c8">.</b><b class="c4">style</b><b class="c8">.</b><b class="c256">opacity</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c4">value</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd><h3>Description:</h3><p class="description"> 设置元素的透明度, 0~1之间<br/>	 </p></dd><dt><b class="function_head"><a name="$.Dom._position" href="#$.Dom._position">_position</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">.</b><b class="c256">_position</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">e</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c4">x</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c4">y</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c128">0</b><b class="c16">,</b>&nbsp;<b class="c256">o</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">e</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c256">oriDisplay</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">o</b><b class="c8">.</b><b class="c4">style</b><b class="c8">.</b><b class="c256">display</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">o</b><b class="c8">.</b><b class="c4">style</b><b class="c8">.</b><b class="c256">display</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c64">''</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">while</b>&nbsp;<b class="c16">(</b><b class="c256">e</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c4">x</b>&nbsp;<b class="c8">+</b><b class="c8">=</b>&nbsp;<b class="c256">e</b><b class="c8">.</b><b class="c4">offsetLeft</b>&nbsp;<b class="c8">|</b><b class="c8">|</b>&nbsp;<b class="c128">0</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c4">y</b>&nbsp;<b class="c8">+</b><b class="c8">=</b>&nbsp;<b class="c256">e</b><b class="c8">.</b><b class="c4">offsetTop</b>&nbsp;<b class="c8">|</b><b class="c8">|</b>&nbsp;<b class="c128">0</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">e</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">e</b><b class="c8">.</b><b class="c4">offsetParent</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">o</b><b class="c8">.</b><b class="c4">style</b><b class="c8">.</b><b class="c256">display</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">oriDisplay</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">return</b>&nbsp;<b class="c8">[</b><b class="c4">x</b><b class="c16">,</b>&nbsp;<b class="c4">y</b><b class="c8">]</b><b class="c16">;</b>&nbsp;&nbsp;&nbsp;&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd><h3>Description:</h3><p class="description"> 返回元素在页面中的坐标<br/>	 </p></dd><dt><b class="function_head"><a name="$.Dom._prepend" href="#$.Dom._prepend">_prepend</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">.</b><b class="c256">_prepend</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">e</b><b class="c16">,</b>&nbsp;<b class="c256">c</b><b class="c16">)</b>&nbsp;<b class="c16">{</b><b class="c1">if</b><b class="c16">(</b><b class="c8">$</b><b class="c8">.</b><b class="c256">isElement</b><b class="c16">(</b><b class="c256">e</b><b class="c16">)</b><b class="c16">)</b>&nbsp;<b class="c256">e</b><b class="c8">.</b><b class="c256">insertBefore</b><b class="c16">(</b><b class="c8">$</b><b class="c8">.</b><b class="c256">isString</b><b class="c16">(</b><b class="c256">c</b><b class="c16">)</b>&nbsp;<b class="c8">?</b>&nbsp;<b class="c8">$</b><b class="c16">(</b><b class="c256">c</b><b class="c16">)</b>&nbsp;<b class="c8">:</b>&nbsp;<b class="c256">c</b><b class="c16">,</b>&nbsp;<b class="c256">e</b><b class="c8">.</b><b class="c256">firstChild</b><b class="c16">)</b><b class="c16">;</b>&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd><h3>Description:</h3><p class="description"> 在元素e的第一个子节点前添加元素c<br/>	 </p></dd><dt><b class="function_head"><a name="$.Dom._remove" href="#$.Dom._remove">_remove</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">.</b><b class="c256">_remove</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">e</b><b class="c16">)</b>&nbsp;<b class="c16">{</b>&nbsp;<b class="c256">e</b><b class="c8">.</b><b class="c256">parentNode</b><b class="c8">.</b><b class="c256">removeChild</b><b class="c16">(</b><b class="c256">e</b><b class="c16">)</b><b class="c16">;</b>&nbsp;<b class="c1">return</b>&nbsp;<b class="c256">e</b>&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd><h3>Description:</h3><p class="description"> 将元素从父元素中移除<br/>	 </p></dd><dt><b class="function_head"><a name="$.Dom._show" href="#$.Dom._show">_show</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">.</b><b class="c256">_show</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">e</b><b class="c16">)</b>&nbsp;<b class="c16">{</b>&nbsp;<b class="c256">e</b><b class="c8">.</b><b class="c4">style</b><b class="c8">.</b><b class="c256">display</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c64">''</b>&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd><h3>Description:</h3><p class="description"> 设置元素的display样式为可见<br/>	 </p></dd><dt><b class="function_head"><a name="$.Dom._style" href="#$.Dom._style">_style</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">.</b><b class="c256">_style</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">e</b><b class="c16">,</b>&nbsp;<b class="c4">style</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c32">/*&nbsp;get&nbsp;style&nbsp;*/</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c8">$</b><b class="c8">.</b><b class="c256">isString</b><b class="c16">(</b><b class="c4">style</b><b class="c16">)</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c4">value</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">e</b><b class="c8">.</b><b class="c4">style</b><b class="c8">[</b><b class="c4">style</b><b class="c8">.</b><b class="c256">camelize</b><b class="c16">(</b><b class="c16">)</b><b class="c8">]</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c8">!</b><b class="c4">value</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c4">document</b><b class="c8">.</b><b class="c256">defaultView</b>&nbsp;<b class="c8">&</b><b class="c8">&</b>&nbsp;<b class="c4">document</b><b class="c8">.</b><b class="c256">defaultView</b><b class="c8">.</b><b class="c256">getComputedStyle</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c256">css</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c4">document</b><b class="c8">.</b><b class="c256">defaultView</b><b class="c8">.</b><b class="c256">getComputedStyle</b><b class="c16">(</b><b class="c256">e</b><b class="c16">,</b>&nbsp;<b class="c1">null</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c4">value</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">css</b>&nbsp;<b class="c8">?</b>&nbsp;<b class="c256">css</b><b class="c8">.</b><b class="c256">getPropertyValue</b><b class="c16">(</b><b class="c4">style</b><b class="c16">)</b>&nbsp;<b class="c8">:</b>&nbsp;<b class="c1">null</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b>&nbsp;<b class="c1">else</b>&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c256">e</b><b class="c8">.</b><b class="c256">currentStyle</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c4">value</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">e</b><b class="c8">.</b><b class="c256">currentStyle</b><b class="c8">[</b><b class="c4">style</b><b class="c8">.</b><b class="c256">camelize</b><b class="c16">(</b><b class="c16">)</b><b class="c8">]</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c4">window</b><b class="c8">.</b><b class="c256">opera</b>&nbsp;<b class="c8">&</b><b class="c8">&</b>&nbsp;<b class="c8">[</b><b class="c64">'left'</b><b class="c16">,</b>&nbsp;<b class="c64">'top'</b><b class="c16">,</b>&nbsp;<b class="c64">'right'</b><b class="c16">,</b>&nbsp;<b class="c64">'bottom'</b><b class="c8">]</b><b class="c8">.</b><b class="c256">include</b><b class="c16">(</b><b class="c4">style</b><b class="c16">)</b>&nbsp;<b class="c8">&</b><b class="c8">&</b>&nbsp;<b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">.</b><b class="c256">_style</b><b class="c16">(</b><b class="c256">e</b><b class="c16">,</b>&nbsp;<b class="c64">'position'</b><b class="c16">)</b>&nbsp;<b class="c8">=</b><b class="c8">=</b>&nbsp;<b class="c64">'static'</b><b class="c16">)</b>&nbsp;<b class="c4">value</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c64">'auto'</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">return</b>&nbsp;<b class="c4">value</b>&nbsp;<b class="c8">=</b><b class="c8">=</b>&nbsp;<b class="c64">'auto'</b>&nbsp;<b class="c8">?</b>&nbsp;<b class="c1">null</b>&nbsp;<b class="c8">:</b>&nbsp;<b class="c4">value</b><b class="c16">;</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c32">/*set&nbsp;style*/</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c256">o</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c4">style</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">try</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">with</b>&nbsp;<b class="c16">(</b><b class="c256">e</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">for</b>&nbsp;<b class="c16">(</b><b class="c1">var</b>&nbsp;<b class="c256">pro</b>&nbsp;<b class="c1">in</b>&nbsp;<b class="c256">o</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c8">$</b><b class="c8">.</b><b class="c256">isFunction</b><b class="c16">(</b><b class="c256">o</b><b class="c8">[</b><b class="c256">pro</b><b class="c8">]</b><b class="c16">)</b><b class="c16">)</b>&nbsp;<b class="c1">continue</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c4">style</b><b class="c8">[</b><b class="c256">pro</b><b class="c8">.</b><b class="c256">camelize</b><b class="c16">(</b><b class="c16">)</b><b class="c8">]</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">o</b><b class="c8">[</b><b class="c256">pro</b><b class="c8">]</b><b class="c16">;</b>&nbsp;&nbsp;&nbsp;&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b>&nbsp;&nbsp;&nbsp;&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b>&nbsp;<b class="c1">catch</b>&nbsp;<b class="c16">(</b><b class="c256">e</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c8">$</b><b class="c8">.</b><b class="c256">doException</b><b class="c16">(</b><b class="c64">'$.Dom._style'</b><b class="c16">,</b>&nbsp;<b class="c256">e</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b>&nbsp;&nbsp;&nbsp;&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd><h3>Description:</h3><p class="description"> 设置或获取元素的样式，根据传入的第2个参数决定执行动作，如果第2个参数是一个字符串，则进行样式获取，如果是一个对象，则进行样式设置<br/>	 	对象的格式为：{stylename1: stylevalue1, stylename2:stylevalue2}</p><h3>Example:</h3><fieldset class="example_code"><legend>Code</legend><ol><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c32">//获取样式</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">.</b><b class="c256">_style</b><b class="c16">(</b><b class="c256">e</b><b class="c16">,</b>&nbsp;<b class="c64">'color'</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c32">//设置样式</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">.</b><b class="c256">_style</b><b class="c16">(</b><b class="c256">e</b><b class="c16">,</b>&nbsp;<b class="c16">{</b><b class="c256">color</b><b class="c8">:</b><b class="c64">'red'</b><b class="c16">}</b><b class="c16">)</b><b class="c16">;</b></b></li></ol></fieldset></dd><dt><b class="function_head"><a name="$.Dom._toggle" href="#$.Dom._toggle">_toggle</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">.</b><b class="c256">_toggle</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">e</b><b class="c16">)</b>&nbsp;<b class="c16">{</b>&nbsp;<b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">[</b>&nbsp;<b class="c256">e</b><b class="c8">.</b><b class="c4">style</b><b class="c8">.</b><b class="c256">display</b>&nbsp;<b class="c8">=</b><b class="c8">=</b>&nbsp;<b class="c64">'none'</b>&nbsp;<b class="c8">?</b>&nbsp;<b class="c64">'_show'</b>&nbsp;<b class="c8">:</b>&nbsp;<b class="c64">'_hide'</b>&nbsp;<b class="c8">]</b><b class="c16">(</b><b class="c256">e</b><b class="c16">)</b><b class="c16">;</b><b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd><h3>Description:</h3><p class="description"> 元素的显示/隐藏切换<br/>	 </p></dd><dt><b class="function_head"><a name="$.Dom.bind" href="#$.Dom.bind">bind</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">.</b><b class="c256">bind</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">pro</b><b class="c16">,</b>&nbsp;<b class="c256">isOverload</b><b class="c16">,</b>&nbsp;<b class="c256">hasRet</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c8">!</b><b class="c16">(</b><b class="c256">pro</b>&nbsp;<b class="c1">in</b>&nbsp;<b class="c256">_$</b><b class="c8">.</b><b class="c4">prototype</b><b class="c16">)</b>&nbsp;<b class="c8">|</b><b class="c8">|</b>&nbsp;<b class="c256">isOverload</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">_$</b><b class="c8">.</b><b class="c4">prototype</b><b class="c8">[</b><b class="c256">pro</b><b class="c8">]</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b>&nbsp;<b class="c16">(</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c256">args</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c4">arguments</b><b class="c16">,</b>&nbsp;<b class="c256">ret</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c1">this</b><b class="c8">.</b><b class="c4">length</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">ret</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">[</b><b class="c64">'_'</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c256">pro</b><b class="c8">]</b>&nbsp;<b class="c16">(</b><b class="c1">this</b><b class="c8">[</b><b class="c128">0</b><b class="c8">]</b><b class="c16">,</b>&nbsp;<b class="c256">args</b><b class="c8">.</b><b class="c4">length</b>&nbsp;<b class="c8">></b>&nbsp;<b class="c128">0</b>&nbsp;<b class="c8">?</b>&nbsp;<b class="c256">args</b><b class="c8">[</b><b class="c128">0</b><b class="c8">]</b>&nbsp;<b class="c8">:</b>&nbsp;<b class="c256">undefined</b><b class="c16">,</b>&nbsp;<b class="c256">args</b><b class="c8">.</b><b class="c4">length</b>&nbsp;<b class="c8">></b>&nbsp;<b class="c128">1</b>&nbsp;<b class="c8">?</b>&nbsp;<b class="c256">args</b><b class="c8">[</b><b class="c128">1</b><b class="c8">]</b>&nbsp;<b class="c8">:</b>&nbsp;<b class="c256">undefined</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">return</b>&nbsp;<b class="c256">hasRet</b>&nbsp;<b class="c8">?</b>&nbsp;<b class="c256">ret</b>&nbsp;<b class="c8">:</b>&nbsp;<b class="c1">this</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b></li><li><b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd><dt><b class="function_head"><a name="$.Dom.extend" href="#$.Dom.extend">extend</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">.</b><b class="c256">extend</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">o</b><b class="c16">,</b>&nbsp;<b class="c256">isOverload</b><b class="c16">,</b>&nbsp;<b class="c256">bindSets</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">for</b>&nbsp;<b class="c16">(</b><b class="c1">var</b>&nbsp;<b class="c256">pro</b>&nbsp;<b class="c1">in</b>&nbsp;<b class="c256">o</b><b class="c16">)</b>&nbsp;<b class="c16">{</b>&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c256">pro</b><b class="c8">.</b><b class="c4">charAt</b><b class="c16">(</b><b class="c128">0</b><b class="c16">)</b>&nbsp;<b class="c8">!</b><b class="c8">=</b>&nbsp;<b class="c64">'_'</b><b class="c16">)</b>&nbsp;<b class="c256">pro</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c64">'_'</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c256">pro</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c8">!</b>&nbsp;<b class="c16">(</b><b class="c256">pro</b>&nbsp;<b class="c1">in</b>&nbsp;<b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c16">)</b>&nbsp;<b class="c8">|</b><b class="c8">|</b>&nbsp;<b class="c256">isOverload</b><b class="c16">)</b>&nbsp;<b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">[</b><b class="c256">pro</b><b class="c8">]</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">o</b><b class="c8">[</b><b class="c256">pro</b><b class="c8">]</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c8">$</b><b class="c8">.</b><b class="c256">isArray</b><b class="c16">(</b><b class="c256">bindSets</b><b class="c16">)</b><b class="c16">)</b>&nbsp;<b class="c8">$</b><b class="c8">.</b><b class="c256">Dom</b><b class="c8">.</b><b class="c256">bind</b><b class="c16">(</b><b class="c256">pro</b><b class="c16">,</b>&nbsp;<b class="c256">bindSets</b><b class="c8">[</b><b class="c128">0</b><b class="c8">]</b><b class="c16">,</b>&nbsp;<b class="c256">bindSets</b><b class="c8">[</b><b class="c128">1</b><b class="c8">]</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b>&nbsp;&nbsp;&nbsp;&nbsp;</li><li><b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd></dl></dl><h2><a name="$.Effect" href="#$.Effect">$.Effect</a></h2><dl><dd></dd><dl class="item"><dt><b class="variable_head"><a href="#$.Effect.DefaultSets" name="$.Effect.DefaultSets">DefaultSets</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Effect</b><b class="c8">.</b><b class="c256">DefaultSets</b>&nbsp;<b class="c8">=</b>&nbsp;&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">transition</b><b class="c8">:</b>&nbsp;&nbsp;&nbsp;&nbsp;<b class="c8">$</b><b class="c8">.</b><b class="c256">Effect</b><b class="c8">.</b><b class="c256">Transitions</b><b class="c8">.</b><b class="c256">sinoidal</b><b class="c16">,</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">duration</b><b class="c8">:</b>&nbsp;&nbsp;&nbsp;&nbsp;<b class="c128">1</b><b class="c8">.</b><b class="c128">0</b><b class="c16">,</b>&nbsp;&nbsp;&nbsp;<b class="c32">//&nbsp;seconds</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">fps</b><b class="c8">:</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c128">25</b><b class="c8">.</b><b class="c128">0</b><b class="c16">,</b>&nbsp;&nbsp;<b class="c32">//&nbsp;max.&nbsp;25fps&nbsp;due&nbsp;to&nbsp;Effect.Queue&nbsp;implementation</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">from</b><b class="c8">:</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c128">0</b><b class="c8">.</b><b class="c128">0</b><b class="c16">,</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">to</b><b class="c8">:</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c128">1</b><b class="c8">.</b><b class="c128">0</b><b class="c16">,</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">delay</b><b class="c8">:</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c128">0</b><b class="c8">.</b><b class="c128">0</b></li><li><b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd></dl><dl class="item"><dt><b class="function_head"><a name="$.Effect.add" href="#$.Effect.add">add</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Effect</b><b class="c8">.</b><b class="c256">add</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">effect</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c256">timestamp</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c8">new</b>&nbsp;<b class="c2">Date</b><b class="c16">(</b><b class="c16">)</b><b class="c8">.</b><b class="c4">getTime</b><b class="c16">(</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">effect</b><b class="c8">.</b><b class="c256">startOn</b>&nbsp;&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">effect</b><b class="c8">.</b><b class="c256">delay</b>&nbsp;<b class="c8">*</b>&nbsp;<b class="c128">1000</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c256">timestamp</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">effect</b><b class="c8">.</b><b class="c256">finishOn</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">effect</b><b class="c8">.</b><b class="c256">startOn</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c256">effect</b><b class="c8">.</b><b class="c256">duration</b>&nbsp;<b class="c8">*</b>&nbsp;<b class="c128">1000</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">effect</b><b class="c8">.</b><b class="c256">currentFrame</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c128">0</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">effect</b><b class="c8">.</b><b class="c256">totalFrames</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">effect</b><b class="c8">.</b><b class="c256">fps</b>&nbsp;<b class="c8">*</b>&nbsp;<b class="c256">effect</b><b class="c8">.</b><b class="c256">duration</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">effect</b><b class="c8">.</b><b class="c4">status</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c64">'idle'</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">this</b><b class="c8">.</b><b class="c256">effects</b><b class="c8">.</b><b class="c4">push</b><b class="c16">(</b><b class="c256">effect</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b><b class="c16">(</b><b class="c8">!</b><b class="c1">this</b><b class="c8">.</b><b class="c256">interval</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">this</b><b class="c8">.</b><b class="c256">interval</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c8">$</b><b class="c8">.</b><b class="c256">Timer</b><b class="c8">.</b><b class="c256">add</b><b class="c16">(</b><b class="c16">{</b><b class="c256">timespan</b><b class="c8">:</b>&nbsp;<b class="c128">0</b><b class="c8">.</b><b class="c128">04</b><b class="c16">,</b>&nbsp;<b class="c256">loop</b><b class="c8">:</b><b class="c1">true</b><b class="c16">,</b>&nbsp;<b class="c256">callback</b><b class="c8">:</b><b class="c1">this</b><b class="c8">.</b><b class="c256">loop</b><b class="c8">.</b><b class="c256">bind</b><b class="c16">(</b><b class="c1">this</b><b class="c16">)</b><b class="c16">}</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b>&nbsp;&nbsp;&nbsp;&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd><dt><b class="function_head"><a name="$.Effect.remove" href="#$.Effect.remove">remove</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Effect</b><b class="c8">.</b><b class="c256">remove</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">effect</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c256">efs</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c8">[</b><b class="c8">]</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">for</b>&nbsp;<b class="c16">(</b><b class="c1">var</b>&nbsp;<b class="c256">i</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c128">0</b><b class="c16">;</b>&nbsp;<b class="c256">i</b>&nbsp;<b class="c8"><</b>&nbsp;<b class="c1">this</b><b class="c8">.</b><b class="c256">effects</b><b class="c8">.</b><b class="c4">length</b><b class="c16">;</b>&nbsp;<b class="c256">i</b>&nbsp;<b class="c8">+</b><b class="c8">+</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c1">this</b><b class="c8">.</b><b class="c256">effects</b><b class="c8">[</b><b class="c256">i</b><b class="c8">]</b>&nbsp;<b class="c8">!</b><b class="c8">=</b>&nbsp;<b class="c256">effect</b><b class="c16">)</b>&nbsp;<b class="c16">{</b>&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">efs</b><b class="c8">.</b><b class="c4">push</b><b class="c16">(</b><b class="c1">this</b><b class="c8">.</b><b class="c256">effects</b><b class="c8">[</b><b class="c256">i</b><b class="c8">]</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b>&nbsp;<b class="c1">else</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">effect</b><b class="c8">.</b><b class="c256">render</b><b class="c16">(</b><b class="c128">1</b><b class="c16">)</b><b class="c16">;</b>&nbsp;&nbsp;&nbsp;&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">effect</b><b class="c8">.</b><b class="c4">status</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c64">'finish'</b><b class="c16">;</b>&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">(</b><b class="c256">effect</b><b class="c8">.</b><b class="c256">onFinish</b>&nbsp;<b class="c8">|</b><b class="c8">|</b>&nbsp;<b class="c8">$</b><b class="c8">.</b><b class="c256">empty</b><b class="c16">)</b>&nbsp;<b class="c16">(</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">delete</b>&nbsp;<b class="c1">this</b><b class="c8">.</b><b class="c256">effects</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">this</b><b class="c8">.</b><b class="c256">effects</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">efs</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c1">this</b><b class="c8">.</b><b class="c256">effects</b><b class="c8">.</b><b class="c4">length</b>&nbsp;<b class="c8">=</b><b class="c8">=</b>&nbsp;<b class="c128">0</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c8">$</b><b class="c8">.</b><b class="c256">Timer</b><b class="c8">.</b><b class="c256">remove</b><b class="c16">(</b><b class="c1">this</b><b class="c8">.</b><b class="c256">interval</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">this</b><b class="c8">.</b><b class="c256">interval</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">false</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b>&nbsp;&nbsp;&nbsp;&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd></dl></dl><h2><a name="$.Event" href="#$.Event">$.Event</a></h2><dl><dd></dd><dl class="item"><dt><b class="variable_head"><a href="#$.Event.EXPORT" name="$.Event.EXPORT">EXPORT</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c2">Event</b><b class="c8">.</b><b class="c256">EXPORT</b>&nbsp;<b class="c8">=</b>&nbsp;&nbsp;<b class="c8">[</b><b class="c64">'observe'</b><b class="c16">,</b>&nbsp;<b class="c64">'stopObserving'</b><b class="c16">,</b>&nbsp;<b class="c64">'Keys'</b><b class="c8">]</b><b class="c16">;</b></b></li></ol></dd><dd><h3>Description:</h3><p class="description"> 属性导出配制，参见：<a href='base.html#window.$export'>$export</a>;<br/>	 </p></dd><dt><b class="variable_head"><a href="#$.Event.Keys" name="$.Event.Keys">Keys</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c2">Event</b><b class="c8">.</b><b class="c256">Keys</b>&nbsp;<b class="c8">=</b>&nbsp;&nbsp;<b class="c16">{</b><b class="c256">BACKSPACE</b><b class="c8">:</b>&nbsp;<b class="c128">8</b><b class="c16">,</b>&nbsp;<b class="c256">TAB</b><b class="c8">:</b>&nbsp;<b class="c128">9</b><b class="c16">,</b>&nbsp;<b class="c256">RETURN</b><b class="c8">:</b>&nbsp;<b class="c128">13</b><b class="c16">,</b>&nbsp;<b class="c256">ESC</b><b class="c8">:</b>&nbsp;<b class="c128">27</b><b class="c16">,</b>&nbsp;<b class="c256">LEFT</b><b class="c8">:</b>&nbsp;<b class="c128">37</b><b class="c16">,</b>&nbsp;<b class="c256">UP</b><b class="c8">:</b>&nbsp;<b class="c128">38</b><b class="c16">,</b>&nbsp;<b class="c256">RIGHT</b><b class="c8">:</b>&nbsp;<b class="c128">39</b><b class="c16">,</b><b class="c256">DOWN</b><b class="c8">:</b>&nbsp;<b class="c128">40</b><b class="c16">,</b>&nbsp;<b class="c256">DELETE</b><b class="c8">:</b>&nbsp;<b class="c128">46</b><b class="c16">,</b>&nbsp;<b class="c256">HOME</b><b class="c8">:</b>&nbsp;<b class="c128">36</b><b class="c16">,</b>&nbsp;<b class="c256">END</b><b class="c8">:</b>&nbsp;<b class="c128">35</b><b class="c16">,</b>&nbsp;<b class="c256">PAGEUP</b><b class="c8">:</b>&nbsp;<b class="c128">33</b><b class="c16">,</b>&nbsp;<b class="c256">PAGEDOWN</b><b class="c8">:</b>&nbsp;<b class="c128">34</b><b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd></dl><dl class="item"><dt><b class="function_head"><a name="$.Event.observe" href="#$.Event.observe">observe</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c2">Event</b><b class="c8">.</b><b class="c256">observe</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c4">element</b><b class="c16">,</b>&nbsp;<b class="c4">name</b><b class="c16">,</b>&nbsp;<b class="c256">observer</b><b class="c16">,</b>&nbsp;<b class="c256">useCapture</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">useCapture</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">useCapture</b>&nbsp;<b class="c8">|</b><b class="c8">|</b>&nbsp;<b class="c1">false</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c4">name</b>&nbsp;<b class="c8">=</b><b class="c8">=</b>&nbsp;<b class="c64">'keypress'</b>&nbsp;<b class="c8">&</b><b class="c8">&</b>&nbsp;<b class="c16">(</b><b class="c4">navigator</b><b class="c8">.</b><b class="c4">appVersion</b><b class="c8">.</b><b class="c4">match</b><b class="c16">(</b><b class="c512">/Konqueror|Safari|KHTML/</b><b class="c16">)</b>&nbsp;<b class="c8">|</b><b class="c8">|</b>&nbsp;<b class="c4">element</b><b class="c8">.</b><b class="c256">attachEvent</b><b class="c16">)</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c4">name</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c64">'keydown'</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">this</b><b class="c8">.</b><b class="c256">_observeAndCache</b><b class="c16">(</b><b class="c4">element</b><b class="c16">,</b>&nbsp;<b class="c4">name</b><b class="c16">,</b>&nbsp;<b class="c256">observer</b><b class="c16">,</b>&nbsp;<b class="c256">useCapture</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">return</b>&nbsp;<b class="c8">[</b><b class="c4">element</b><b class="c16">,</b>&nbsp;<b class="c4">name</b><b class="c16">,</b>&nbsp;<b class="c256">observer</b><b class="c16">,</b>&nbsp;<b class="c256">useCapture</b><b class="c8">]</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd><dt><b class="function_head"><a name="$.Event.stopObserving" href="#$.Event.stopObserving">stopObserving</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c2">Event</b><b class="c8">.</b><b class="c256">stopObserving</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c4">element</b><b class="c16">,</b>&nbsp;<b class="c4">name</b><b class="c16">,</b>&nbsp;<b class="c256">observer</b><b class="c16">,</b>&nbsp;<b class="c256">useCapture</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c8">$</b><b class="c8">.</b><b class="c2">Event</b><b class="c8">.</b><b class="c256">observers</b>&nbsp;<b class="c8">=</b><b class="c8">=</b>&nbsp;<b class="c1">null</b>&nbsp;<b class="c8">|</b><b class="c8">|</b>&nbsp;<b class="c8">$</b><b class="c8">.</b><b class="c2">Event</b><b class="c8">.</b><b class="c256">observers</b><b class="c8">.</b><b class="c4">length</b>&nbsp;<b class="c8">=</b><b class="c8">=</b>&nbsp;<b class="c128">0</b><b class="c16">)</b>&nbsp;<b class="c1">return</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c256">obs</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c8">[</b><b class="c8">]</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c4">arguments</b><b class="c8">.</b><b class="c4">length</b>&nbsp;<b class="c8">=</b><b class="c8">=</b>&nbsp;<b class="c128">1</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c256">oriObs</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c8">$</b><b class="c8">.</b><b class="c2">Event</b><b class="c8">.</b><b class="c256">observers</b><b class="c16">,</b>&nbsp;<b class="c256">newObs</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c8">[</b><b class="c8">]</b><b class="c16">,</b>&nbsp;<b class="c256">item</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">for</b>&nbsp;<b class="c16">(</b><b class="c1">var</b>&nbsp;<b class="c256">i</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c128">0</b><b class="c16">;</b>&nbsp;<b class="c256">i</b>&nbsp;<b class="c8"><</b>&nbsp;<b class="c256">oriObs</b><b class="c8">.</b><b class="c4">length</b><b class="c16">;</b>&nbsp;<b class="c256">i</b>&nbsp;<b class="c8">+</b><b class="c8">+</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">item</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">oriObs</b><b class="c8">[</b><b class="c256">i</b><b class="c8">]</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c256">item</b><b class="c8">[</b><b class="c128">0</b><b class="c8">]</b>&nbsp;<b class="c8">=</b><b class="c8">=</b>&nbsp;<b class="c4">element</b><b class="c16">)</b>&nbsp;<b class="c256">obs</b><b class="c8">.</b><b class="c4">push</b><b class="c16">(</b><b class="c256">item</b><b class="c16">)</b><b class="c16">;</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">else</b>&nbsp;<b class="c256">newObs</b><b class="c8">.</b><b class="c4">push</b><b class="c16">(</b><b class="c256">item</b><b class="c16">)</b><b class="c16">;</b>&nbsp;&nbsp;&nbsp;&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c8">$</b><b class="c8">.</b><b class="c2">Event</b><b class="c8">.</b><b class="c256">observers</b>&nbsp;&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">newObs</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b>&nbsp;<b class="c1">else</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">obs</b><b class="c8">.</b><b class="c4">push</b><b class="c16">(</b><b class="c8">[</b><b class="c4">element</b><b class="c16">,</b>&nbsp;<b class="c4">name</b><b class="c16">,</b>&nbsp;<b class="c256">observer</b><b class="c16">,</b>&nbsp;<b class="c256">useCapture</b>&nbsp;<b class="c8">|</b><b class="c8">|</b>&nbsp;<b class="c1">false</b><b class="c8">]</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b>&nbsp;&nbsp;&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">for</b>&nbsp;<b class="c16">(</b><b class="c1">var</b>&nbsp;<b class="c256">i</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c128">0</b><b class="c16">;</b>&nbsp;<b class="c256">i</b>&nbsp;<b class="c8"><</b>&nbsp;<b class="c256">obs</b><b class="c8">.</b><b class="c4">length</b><b class="c16">;</b>&nbsp;<b class="c256">i</b>&nbsp;<b class="c8">+</b><b class="c8">+</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c256">item</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">obs</b><b class="c8">[</b><b class="c256">i</b><b class="c8">]</b><b class="c16">;</b>&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c4">element</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">item</b><b class="c8">[</b><b class="c128">0</b><b class="c8">]</b><b class="c16">,</b>&nbsp;<b class="c4">name</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">item</b><b class="c8">[</b><b class="c128">1</b><b class="c8">]</b><b class="c16">,</b>&nbsp;<b class="c256">observer</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">item</b><b class="c8">[</b><b class="c128">2</b><b class="c8">]</b><b class="c16">,</b>&nbsp;<b class="c256">useCapture</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">item</b><b class="c8">[</b><b class="c128">3</b><b class="c8">]</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c4">name</b>&nbsp;<b class="c8">=</b><b class="c8">=</b>&nbsp;<b class="c64">'keypress'</b>&nbsp;<b class="c8">&</b><b class="c8">&</b>&nbsp;<b class="c16">(</b><b class="c4">navigator</b><b class="c8">.</b><b class="c4">appVersion</b><b class="c8">.</b><b class="c4">match</b><b class="c16">(</b><b class="c512">/Konqueror|Safari|KHTML/</b><b class="c16">)</b>&nbsp;<b class="c8">|</b><b class="c8">|</b>&nbsp;<b class="c4">element</b><b class="c8">.</b><b class="c256">detachEvent</b><b class="c16">)</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c4">name</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c64">'keydown'</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c4">element</b><b class="c8">.</b><b class="c256">removeEventListener</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c4">element</b><b class="c8">.</b><b class="c256">removeEventListener</b><b class="c16">(</b><b class="c4">name</b><b class="c16">,</b>&nbsp;<b class="c256">observer</b><b class="c16">,</b>&nbsp;<b class="c256">useCapture</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b>&nbsp;<b class="c1">else</b>&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c4">element</b><b class="c8">.</b><b class="c256">detachEvent</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">try</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c4">element</b><b class="c8">.</b><b class="c256">detachEvent</b><b class="c16">(</b><b class="c64">'on'</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c4">name</b><b class="c16">,</b>&nbsp;<b class="c256">observer</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b>&nbsp;<b class="c1">catch</b>&nbsp;<b class="c16">(</b><b class="c256">e</b><b class="c16">)</b>&nbsp;<b class="c16">{</b><b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd></dl></dl><h2><a name="$.Timer" href="#$.Timer">$.Timer</a></h2><dl><dd><h3>Description:</h3><p class="description"><br/> Timer   <br/> ! You should not put a complex computer in this timer.<br/> </p></dd><dl class="item"><dt><b class="function_head"><a name="$.Timer.add" href="#$.Timer.add">add</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Timer</b><b class="c8">.</b><b class="c256">add</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">sets</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c8">!</b><b class="c1">this</b><b class="c8">.</b><b class="c256">queen</b><b class="c16">)</b>&nbsp;<b class="c1">this</b><b class="c8">.</b><b class="c256">queen</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c8">[</b><b class="c8">]</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c8">$</b><b class="c8">.</b><b class="c256">extend</b><b class="c16">(</b><b class="c256">sets</b><b class="c16">,</b>&nbsp;<b class="c1">this</b><b class="c8">.</b><b class="c256">defaultSets</b><b class="c16">,</b>&nbsp;<b class="c1">true</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">sets</b><b class="c8">.</b><b class="c256">callPos</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c8">new</b>&nbsp;<b class="c2">Date</b><b class="c16">(</b><b class="c16">)</b><b class="c8">.</b><b class="c4">getTime</b><b class="c16">(</b><b class="c16">)</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c256">sets</b><b class="c8">.</b><b class="c256">timespan</b>&nbsp;<b class="c8">*</b>&nbsp;<b class="c128">1000</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">this</b><b class="c8">.</b><b class="c256">queen</b><b class="c8">.</b><b class="c4">push</b><b class="c16">(</b><b class="c256">sets</b><b class="c16">)</b><b class="c16">;</b>&nbsp;&nbsp;&nbsp;&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c8">!</b><b class="c1">this</b><b class="c8">.</b><b class="c256">timer</b><b class="c16">)</b>&nbsp;<b class="c1">this</b><b class="c8">.</b><b class="c256">timer</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c4">setInterval</b><b class="c16">(</b><b class="c1">this</b><b class="c8">.</b><b class="c256">loop</b><b class="c8">.</b><b class="c256">bind</b><b class="c16">(</b><b class="c1">this</b><b class="c16">)</b><b class="c16">,</b>&nbsp;<b class="c128">40</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">return</b>&nbsp;<b class="c256">sets</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd><dt><b class="function_head"><a name="$.Timer.remove" href="#$.Timer.remove">remove</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Timer</b><b class="c8">.</b><b class="c256">remove</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">sets</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c256">nqueen</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c8">[</b><b class="c8">]</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">for</b>&nbsp;<b class="c16">(</b><b class="c1">var</b>&nbsp;<b class="c256">i</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c128">0</b><b class="c16">;</b>&nbsp;<b class="c256">i</b>&nbsp;<b class="c8"><</b>&nbsp;<b class="c1">this</b><b class="c8">.</b><b class="c256">queen</b><b class="c8">.</b><b class="c4">length</b><b class="c16">;</b>&nbsp;<b class="c256">i</b>&nbsp;<b class="c8">+</b><b class="c8">+</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c1">this</b><b class="c8">.</b><b class="c256">queen</b><b class="c8">[</b><b class="c256">i</b><b class="c8">]</b>&nbsp;<b class="c8">!</b><b class="c8">=</b>&nbsp;<b class="c256">sets</b><b class="c16">)</b>&nbsp;<b class="c256">nqueen</b><b class="c8">.</b><b class="c4">push</b><b class="c16">(</b><b class="c1">this</b><b class="c8">.</b><b class="c256">queen</b><b class="c8">[</b><b class="c256">i</b><b class="c8">]</b><b class="c16">)</b><b class="c16">;</b>&nbsp;&nbsp;&nbsp;&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">delete</b>&nbsp;<b class="c1">this</b><b class="c8">.</b><b class="c256">queen</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">this</b><b class="c8">.</b><b class="c256">queen</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">nqueen</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c1">this</b><b class="c8">.</b><b class="c256">queen</b><b class="c8">.</b><b class="c4">length</b>&nbsp;<b class="c8">=</b><b class="c8">=</b>&nbsp;<b class="c128">0</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c4">clearInterval</b><b class="c16">(</b><b class="c1">this</b><b class="c8">.</b><b class="c256">timer</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">this</b><b class="c8">.</b><b class="c256">timer</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">false</b><b class="c16">;</b>&nbsp;&nbsp;&nbsp;&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd></dl></dl><h2><a name="$.Ajax.Base" href="#$.Ajax.Base">$.Ajax.Base</a></h2><dl><dd></dd></dl><h2><a name="$.Cookie.All" href="#$.Cookie.All">$.Cookie.All</a></h2><dl><dd></dd><dl class="item"><dt><b class="function_head"><a name="$.Cookie.All.get" href="#$.Cookie.All.get">get</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Cookie</b><b class="c8">.</b><b class="c256">All</b><b class="c8">.</b><b class="c4">get</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c256">args</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c8">[</b><b class="c8">]</b><b class="c8">.</b><b class="c4">concat</b><b class="c16">(</b><b class="c256">$A</b><b class="c16">(</b><b class="c4">arguments</b><b class="c16">)</b><b class="c16">)</b><b class="c16">,</b>&nbsp;<b class="c256">d</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">args</b><b class="c8">.</b><b class="c4">shift</b><b class="c16">(</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c256">allcookies</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">d</b><b class="c8">.</b><b class="c4">cookie</b><b class="c8">.</b><b class="c4">replace</b><b class="c16">(</b><b class="c512">/\s/g</b><b class="c16">,</b>&nbsp;<b class="c64">''</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c256">ret</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c8">[</b><b class="c8">]</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b>&nbsp;<b class="c256">allcookies</b>&nbsp;<b class="c8">=</b><b class="c8">=</b>&nbsp;<b class="c64">""</b>&nbsp;<b class="c16">)</b>&nbsp;<b class="c1">return</b>&nbsp;<b class="c1">false</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">for</b>&nbsp;<b class="c16">(</b><b class="c1">var</b>&nbsp;<b class="c256">i</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c128">0</b><b class="c16">;</b>&nbsp;<b class="c256">i</b>&nbsp;<b class="c8"><</b>&nbsp;<b class="c256">args</b><b class="c8">.</b><b class="c4">length</b><b class="c16">;</b>&nbsp;<b class="c256">i</b>&nbsp;<b class="c8">+</b><b class="c8">+</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c4">name</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">args</b><b class="c8">[</b><b class="c256">i</b><b class="c8">]</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c256">start</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">allcookies</b><b class="c8">.</b><b class="c4">indexOf</b><b class="c16">(</b><b class="c4">name</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c64">'='</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c256">start</b>&nbsp;<b class="c8">=</b><b class="c8">=</b>&nbsp;<b class="c8">-</b><b class="c128">1</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">ret</b><b class="c8">.</b><b class="c4">push</b><b class="c16">(</b><b class="c1">null</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">continue</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">start</b>&nbsp;<b class="c8">+</b><b class="c8">=</b>&nbsp;<b class="c4">name</b><b class="c8">.</b><b class="c4">length</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c128">1</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c256">end</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">allcookies</b><b class="c8">.</b><b class="c4">indexOf</b><b class="c16">(</b><b class="c64">';'</b><b class="c16">,</b>&nbsp;<b class="c256">start</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c256">end</b>&nbsp;<b class="c8">=</b><b class="c8">=</b>&nbsp;<b class="c8">-</b><b class="c128">1</b><b class="c16">)</b>&nbsp;<b class="c256">end</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">allcookies</b><b class="c8">.</b><b class="c4">length</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">ret</b><b class="c8">.</b><b class="c4">push</b><b class="c16">(</b><b class="c256">allcookies</b><b class="c8">.</b><b class="c4">substring</b><b class="c16">(</b><b class="c256">start</b><b class="c16">,</b>&nbsp;<b class="c256">end</b><b class="c16">)</b><b class="c16">)</b><b class="c16">;</b>&nbsp;&nbsp;&nbsp;&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">return</b>&nbsp;<b class="c256">ret</b><b class="c8">.</b><b class="c4">length</b>&nbsp;<b class="c8">=</b><b class="c8">=</b>&nbsp;<b class="c128">1</b>&nbsp;<b class="c8">?</b>&nbsp;<b class="c256">ret</b><b class="c8">[</b><b class="c128">0</b><b class="c8">]</b>&nbsp;<b class="c8">:</b>&nbsp;<b class="c256">ret</b><b class="c16">;</b>&nbsp;&nbsp;&nbsp;&nbsp;</li><li>&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd><dt><b class="function_head"><a name="$.Cookie.All.remove" href="#$.Cookie.All.remove">remove</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Cookie</b><b class="c8">.</b><b class="c256">All</b><b class="c8">.</b><b class="c256">remove</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">d</b><b class="c16">,</b>&nbsp;<b class="c4">name</b><b class="c16">,</b>&nbsp;<b class="c256">path</b><b class="c16">,</b>&nbsp;<b class="c4">domain</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c4">cookie</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c4">name</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c64">'='</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b><b class="c16">(</b>&nbsp;<b class="c256">path</b>&nbsp;<b class="c16">)</b>&nbsp;<b class="c4">cookie</b>&nbsp;<b class="c8">+</b><b class="c8">=</b>&nbsp;<b class="c64">';&nbsp;path='</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c256">path</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b><b class="c16">(</b>&nbsp;<b class="c4">domain</b>&nbsp;<b class="c16">)</b>&nbsp;<b class="c4">cookie</b>&nbsp;<b class="c8">+</b><b class="c8">=</b>&nbsp;<b class="c64">';&nbsp;domain='</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c4">domain</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c4">cookie</b>&nbsp;<b class="c8">+</b><b class="c8">=</b>&nbsp;<b class="c64">';&nbsp;expires=Fri,&nbsp;02-Jan-1970&nbsp;00:00:00&nbsp;GMT'</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">d</b><b class="c8">.</b><b class="c4">cookie</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c4">cookie</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd><dt><b class="function_head"><a name="$.Cookie.All.set" href="#$.Cookie.All.set">set</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c256">Cookie</b><b class="c8">.</b><b class="c256">All</b><b class="c8">.</b><b class="c256">set</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c256">d</b><b class="c16">,</b>&nbsp;<b class="c4">name</b><b class="c16">,</b>&nbsp;<b class="c4">value</b><b class="c16">,</b>&nbsp;<b class="c256">days</b><b class="c16">,</b>&nbsp;<b class="c256">path</b><b class="c16">,</b>&nbsp;<b class="c4">domain</b><b class="c16">,</b>&nbsp;<b class="c256">secure</b><b class="c16">)</b>&nbsp;<b class="c16">{</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c4">cookie</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c4">name</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c64">'='</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c4">value</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">var</b>&nbsp;<b class="c256">expiration</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">days</b>&nbsp;<b class="c8">?</b>&nbsp;<b class="c8">new</b>&nbsp;<b class="c2">Date</b><b class="c16">(</b><b class="c16">(</b><b class="c8">new</b>&nbsp;<b class="c2">Date</b><b class="c16">(</b><b class="c16">)</b><b class="c16">)</b>&nbsp;<b class="c8">.</b>&nbsp;<b class="c4">getTime</b><b class="c16">(</b><b class="c16">)</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c256">days</b>&nbsp;<b class="c8">*</b>&nbsp;<b class="c128">24</b>&nbsp;<b class="c8">*</b>&nbsp;<b class="c128">3600000</b><b class="c16">)</b>&nbsp;<b class="c8">:</b>&nbsp;<b class="c1">null</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c256">expiration</b><b class="c16">)</b>&nbsp;<b class="c4">cookie</b>&nbsp;<b class="c8">+</b><b class="c8">=</b>&nbsp;<b class="c64">';&nbsp;expires='</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c256">expiration</b><b class="c8">.</b><b class="c4">toGMTString</b><b class="c16">(</b><b class="c16">)</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c256">path</b><b class="c16">)</b>&nbsp;<b class="c4">cookie</b>&nbsp;<b class="c8">+</b><b class="c8">=</b>&nbsp;<b class="c64">';&nbsp;path='</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c256">path</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c4">domain</b><b class="c16">)</b>&nbsp;<b class="c4">cookie</b>&nbsp;<b class="c8">+</b><b class="c8">=</b>&nbsp;<b class="c64">';domain='</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c4">domain</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c256">secure</b><b class="c16">)</b>&nbsp;<b class="c4">cookie</b>&nbsp;<b class="c8">+</b><b class="c8">=</b>&nbsp;<b class="c64">';secure'</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b class="c256">d</b><b class="c8">.</b><b class="c4">cookie</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c4">cookie</b><b class="c16">;</b></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd></dl></dl><h2><a name="$.Effect.Transtions" href="#$.Effect.Transtions">$.Effect.Transtions</a></h2><dl><dd></dd></dl><h2><a name="$.Event.Methods" href="#$.Event.Methods">$.Event.Methods</a></h2><dl><dd></dd><dl class="item"><dt><b class="function_head"><a name="$.Event.Methods.element" href="#$.Event.Methods.element">element</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c2">Event</b><b class="c8">.</b><b class="c256">Methods</b><b class="c8">.</b><b class="c4">element</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c4">event</b><b class="c16">)</b>&nbsp;<b class="c16">{</b>&nbsp;<b class="c1">return</b>&nbsp;<b class="c4">event</b><b class="c8">.</b><b class="c4">target</b>&nbsp;<b class="c8">|</b><b class="c8">|</b>&nbsp;<b class="c4">event</b><b class="c8">.</b><b class="c4">srcElement</b><b class="c16">;</b>&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd><dt><b class="function_head"><a name="$.Event.Methods.find" href="#$.Event.Methods.find">find</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c2">Event</b><b class="c8">.</b><b class="c256">Methods</b><b class="c8">.</b><b class="c4">find</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c4">event</b><b class="c16">,</b>&nbsp;<b class="c4">tagName</b><b class="c16">)</b>&nbsp;<b class="c16">{</b>&nbsp;<b class="c1">var</b>&nbsp;<b class="c256">e</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c4">event</b><b class="c8">.</b><b class="c4">target</b>&nbsp;<b class="c8">|</b><b class="c8">|</b>&nbsp;<b class="c4">event</b><b class="c8">.</b><b class="c4">srcElement</b><b class="c16">;</b>&nbsp;<b class="c4">tagName</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c4">tagName</b><b class="c8">.</b><b class="c4">toUpperCase</b><b class="c16">(</b><b class="c16">)</b><b class="c16">;</b>&nbsp;<b class="c1">while</b>&nbsp;<b class="c16">(</b><b class="c256">e</b><b class="c8">.</b><b class="c4">tagName</b>&nbsp;<b class="c8">!</b><b class="c8">=</b>&nbsp;<b class="c4">tagName</b>&nbsp;<b class="c8">&</b><b class="c8">&</b>&nbsp;<b class="c256">e</b><b class="c8">.</b><b class="c4">tagName</b>&nbsp;<b class="c8">!</b><b class="c8">=</b>&nbsp;<b class="c64">'HTML'</b><b class="c16">)</b>&nbsp;<b class="c16">{</b>&nbsp;<b class="c256">e</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c256">e</b><b class="c8">.</b><b class="c256">parentNode</b><b class="c16">;</b>&nbsp;<b class="c16">}</b>&nbsp;<b class="c1">return</b>&nbsp;<b class="c256">e</b><b class="c8">.</b><b class="c4">tagName</b>&nbsp;<b class="c8">=</b><b class="c8">=</b>&nbsp;<b class="c4">tagName</b>&nbsp;<b class="c8">?</b>&nbsp;<b class="c256">e</b>&nbsp;<b class="c8">:</b>&nbsp;<b class="c1">false</b><b class="c16">;</b>&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd><dt><b class="function_head"><a name="$.Event.Methods.keyCode" href="#$.Event.Methods.keyCode">keyCode</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c2">Event</b><b class="c8">.</b><b class="c256">Methods</b><b class="c8">.</b><b class="c4">keyCode</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c4">event</b><b class="c16">)</b>&nbsp;<b class="c16">{</b>&nbsp;<b class="c1">return</b>&nbsp;<b class="c4">event</b><b class="c8">.</b><b class="c4">keyCode</b>&nbsp;<b class="c8">|</b><b class="c8">|</b>&nbsp;<b class="c4">event</b><b class="c8">.</b><b class="c4">which</b><b class="c16">;</b>&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd><dt><b class="function_head"><a name="$.Event.Methods.stop" href="#$.Event.Methods.stop">stop</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c2">Event</b><b class="c8">.</b><b class="c256">Methods</b><b class="c8">.</b><b class="c4">stop</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c4">event</b><b class="c16">)</b>&nbsp;<b class="c16">{</b>&nbsp;<b class="c1">var</b>&nbsp;<b class="c256">evt</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c4">event</b><b class="c16">;</b>&nbsp;<b class="c1">if</b>&nbsp;<b class="c16">(</b><b class="c256">evt</b><b class="c8">.</b><b class="c256">preventDefault</b><b class="c16">)</b>&nbsp;<b class="c16">{</b>&nbsp;<b class="c256">evt</b><b class="c8">.</b><b class="c256">preventDefault</b><b class="c16">(</b><b class="c16">)</b><b class="c16">;</b>&nbsp;<b class="c256">evt</b><b class="c8">.</b><b class="c256">stopPropagation</b><b class="c16">(</b><b class="c16">)</b><b class="c16">;</b>&nbsp;<b class="c16">}</b>&nbsp;<b class="c1">else</b>&nbsp;<b class="c16">{</b>&nbsp;<b class="c256">evt</b><b class="c8">.</b><b class="c4">returnValue</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">false</b><b class="c16">;</b>&nbsp;<b class="c256">evt</b><b class="c8">.</b><b class="c4">cancelBubble</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">true</b><b class="c16">;</b>&nbsp;<b class="c16">}</b><b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd><dt><b class="function_head"><a name="$.Event.Methods.x" href="#$.Event.Methods.x">x</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c2">Event</b><b class="c8">.</b><b class="c256">Methods</b><b class="c8">.</b><b class="c4">x</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c4">event</b><b class="c16">)</b>&nbsp;<b class="c16">{</b>&nbsp;<b class="c1">return</b>&nbsp;<b class="c4">event</b><b class="c8">.</b><b class="c4">pageX</b>&nbsp;<b class="c8">|</b><b class="c8">|</b>&nbsp;<b class="c16">(</b><b class="c4">event</b><b class="c8">.</b><b class="c4">clientX</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c16">(</b><b class="c4">document</b><b class="c8">.</b><b class="c256">documentElement</b><b class="c8">.</b><b class="c256">scrollLeft</b>&nbsp;<b class="c8">|</b><b class="c8">|</b>&nbsp;<b class="c4">document</b><b class="c8">.</b><b class="c256">body</b><b class="c8">.</b><b class="c256">scrollLeft</b><b class="c16">)</b><b class="c16">)</b><b class="c16">;</b>&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd><dt><b class="function_head"><a name="$.Event.Methods.y" href="#$.Event.Methods.y">y</a></b>&nbsp;<a href="javascript:void(0)" onclick="view_source(this)">hide source</a></dt><dd class="code" style="display:block"><ol><li><b class="c8">$</b><b class="c8">.</b><b class="c2">Event</b><b class="c8">.</b><b class="c256">Methods</b><b class="c8">.</b><b class="c4">y</b>&nbsp;<b class="c8">=</b>&nbsp;<b class="c1">function</b><b class="c16">(</b><b class="c4">event</b><b class="c16">)</b>&nbsp;<b class="c16">{</b>&nbsp;<b class="c1">return</b>&nbsp;<b class="c4">event</b><b class="c8">.</b><b class="c4">pageY</b>&nbsp;<b class="c8">|</b><b class="c8">|</b>&nbsp;<b class="c16">(</b><b class="c4">event</b><b class="c8">.</b><b class="c4">clientY</b>&nbsp;<b class="c8">+</b>&nbsp;<b class="c16">(</b><b class="c4">document</b><b class="c8">.</b><b class="c256">documentElement</b><b class="c8">.</b><b class="c256">scrollTop</b>&nbsp;<b class="c8">|</b><b class="c8">|</b>&nbsp;<b class="c4">document</b><b class="c8">.</b><b class="c256">body</b><b class="c8">.</b><b class="c256">scrollTop</b><b class="c16">)</b><b class="c16">)</b><b class="c16">;</b>&nbsp;<b class="c16">}</b><b class="c16">;</b></b></li></ol></dd><dd></dd></dl></dl><div id="name_index"><h3><a name="#name_index">名称索引</a><dl><dt><a href='#$.Ajax'>$.Ajax</a></dt></dl><dl><dt><a href='#$.Browser'>$.Browser</a></dt><dd><a href='#$.Browser.EXPORT'>EXPORT</a></dd><dd><a href='#$.Browser.Gecko'>Gecko</a></dd><dd><a href='#$.Browser.IE'>IE</a></dd><dd><a href='#$.Browser.Opera'>Opera</a></dd><dd><a href='#$.Browser.Version'>Version</a></dd><dd><a href='#$.Browser.WebKit'>WebKit</a></dd></dl><dl><dt><a href='#$.Builder'>$.Builder</a></dt><dd><a href='#$.Builder.node'>node</a></dd><dd><a href='#$.Builder.text'>text</a></dd></dl><dl><dt><a href='#$.Dom'>$.Dom</a></dt><dd><a href='#$.Dom._addTo'>_addTo</a></dd><dd><a href='#$.Dom._after'>_after</a></dd><dd><a href='#$.Dom._append'>_append</a></dd><dd><a href='#$.Dom._before'>_before</a></dd><dd><a href='#$.Dom._elementsWithClass'>_elementsWithClass</a></dd><dd><a href='#$.Dom._empty'>_empty</a></dd><dd><a href='#$.Dom._hide'>_hide</a></dd><dd><a href='#$.Dom._opacity'>_opacity</a></dd><dd><a href='#$.Dom._position'>_position</a></dd><dd><a href='#$.Dom._prepend'>_prepend</a></dd><dd><a href='#$.Dom._remove'>_remove</a></dd><dd><a href='#$.Dom._show'>_show</a></dd><dd><a href='#$.Dom._style'>_style</a></dd><dd><a href='#$.Dom._toggle'>_toggle</a></dd><dd><a href='#$.Dom.bind'>bind</a></dd><dd><a href='#$.Dom.extend'>extend</a></dd></dl><dl><dt><a href='#$.Effect'>$.Effect</a></dt><dd><a href='#$.Effect.DefaultSets'>DefaultSets</a></dd><dd><a href='#$.Effect.add'>add</a></dd><dd><a href='#$.Effect.remove'>remove</a></dd></dl><dl><dt><a href='#$.Event'>$.Event</a></dt><dd><a href='#$.Event.EXPORT'>EXPORT</a></dd><dd><a href='#$.Event.Keys'>Keys</a></dd><dd><a href='#$.Event.observe'>observe</a></dd><dd><a href='#$.Event.stopObserving'>stopObserving</a></dd></dl><dl><dt><a href='#$.Timer'>$.Timer</a></dt><dd><a href='#$.Timer.add'>add</a></dd><dd><a href='#$.Timer.remove'>remove</a></dd></dl><dl><dt><a href='#$.Ajax.Base'>$.Ajax.Base</a></dt></dl><dl><dt><a href='#$.Cookie.All'>$.Cookie.All</a></dt><dd><a href='#$.Cookie.All.get'>get</a></dd><dd><a href='#$.Cookie.All.remove'>remove</a></dd><dd><a href='#$.Cookie.All.set'>set</a></dd></dl><dl><dt><a href='#$.Effect.Transtions'>$.Effect.Transtions</a></dt></dl><dl><dt><a href='#$.Event.Methods'>$.Event.Methods</a></dt><dd><a href='#$.Event.Methods.element'>element</a></dd><dd><a href='#$.Event.Methods.find'>find</a></dd><dd><a href='#$.Event.Methods.keyCode'>keyCode</a></dd><dd><a href='#$.Event.Methods.stop'>stop</a></dd><dd><a href='#$.Event.Methods.x'>x</a></dd><dd><a href='#$.Event.Methods.y'>y</a></dd></dl></h3></div><div id="pop_up"><a href="#name_index">查看名称索引</a></div></div>
</body>
</html>
